<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>global (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>


  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
       <span class="fn">global</span>
</div>

<hr/>


  <h2>Classes</h2>
   
<br/>

  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>









<div class="section">
  <table class="horiz-rule">


  </table>
</div>




  <h2>Global Functions</h2>





<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.global.initInner"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.global.</span><span class="entryName">initInner<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Global function to kick off initialization in the iframe.
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_demos_xpc_xpcdemo.js.source.html#line48">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.global.initOuter"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.global.</span><span class="entryName">initOuter<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Global function to kick off initialization in the containing document.
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_goog_demos_xpc_xpcdemo.js.source.html#line40">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



  <h2>Global Properties</h2>





<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.global.CLOSURE_BASE_PATH"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.global.</span><span class="entryName">CLOSURE_BASE_PATH</span>
        : <div class="fullType">(<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>)</div>
     </div>


     <div class="entryOverview">
       A hook for overriding the base path.
     </div>

  </td>


  <td class="view-code">
     <a href="closure_goog_base.js.source.html#line370">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.global.CLOSURE_CSS_NAME_MAPPING"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.global.</span><span class="entryName">CLOSURE_CSS_NAME_MAPPING</span>
        : <div class="fullType">(<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span><span>&nbsp;|&nbsp;</span><span class="type">null</span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>)</div>
     </div>


     <div class="entryOverview">
       To use CSS renaming in compiled mode, one of the input files should have a
call to goog.setCssNameMapping() with an object literal that the JSCompiler
can extract and use to replace all calls to goog.getCssName(). In uncompiled
mode, JavaScript code should be loaded before this base.js file that declares
a global variable, CLOSURE_CSS_NAME_MAPPING, which is used below. This is
to ensure that the mapping is loaded before any calls to goog.getCssName()
are made in uncompiled mode.

A hook for overriding the CSS name mapping.
     </div>

  </td>


  <td class="view-code">
     <a href="closure_goog_base.js.source.html#line1338">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.global.CLOSURE_NO_DEPS"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.global.</span><span class="entryName">CLOSURE_NO_DEPS</span>
        : <div class="fullType">(<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>)</div>
     </div>


     <div class="entryOverview">
       Whether to write out Closure's deps file. By default,
the deps are written.
     </div>

  </td>


  <td class="view-code">
     <a href="closure_goog_base.js.source.html#line378">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package global</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="global"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
